package com.ssm.forum.dao.model.reply;


import com.jee.ssm.common.core.base.BaseModel;
import com.ssm.forum.dao.model.residence.Residence;
import com.ssm.forum.dao.model.user.User;
import com.ssm.icc.dao.model.estate.Estate;
import com.ssm.upms.dao.model.Admin;

import java.util.Date;

/**
 * 
 * 表名 d_reply
 * @author GaoXiang
 * @version 1.0
 * Create time 2017/06/05
 */
public class Reply extends BaseModel {
    /**
     * 编号
     * 表字段 : d_reply.id
     * Create time 2017/06/05
     */
    private String id;

    /**
     * 贴子的ID
     * 表字段 : d_reply.content_id
     * Create time 2017/06/05
     */
    private String contentId;

    /**
     * 回复人的ID
     * 表字段 : d_reply.user_id
     * Create time 2017/06/05
     */
    private String userId;

    /**
     * 回复的内容
     * 表字段 : d_reply.content
     * Create time 2017/06/05
     */
    private String content;

    private Date setTime;

    private String title;

    private String userName;

    private  String type;

    private String sensitiveStatus;

    private  String  residenceId;
    private User user;
    private Residence residence;

    private Admin admin;
/*    private Estate estate;*/
    private  Residence re;
    /**
     * 构造方法
     */
    public Reply(String id, String contentId, String userId, String content) {
        this.id = id;
        this.contentId = contentId;
        this.userId = userId;
        this.content = content;
    }

    /**
     * 构造方法
     */
    public Reply() {
        super();
    }

    /**
     * 编号
     * @return id 编号
     */
    public String getId() {
        return id;
    }

    /**
     * 编号
     * @param id 编号
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * 贴子的ID
     * @return content_id 贴子的ID
     */
    public String getContentId() {
        return contentId;
    }

    /**
     * 贴子的ID
     * @param contentId 贴子的ID
     */
    public void setContentId(String contentId) {
        this.contentId = contentId;
    }

    /**
     * 回复人的ID
     * @return user_id 回复人的ID
     */
    public String getUserId() {
        return userId;
    }

    /**
     * 回复人的ID
     * @param userId 回复人的ID
     */
    public void setUserId(String userId) {
        this.userId = userId;
    }

    /**
     * 回复的内容
     * @return content 回复的内容
     */
    public String getContent() {
        return content;
    }

    /**
     * 回复的内容
     * @param content 回复的内容
     */
    public void setContent(String content) {
        this.content = content;
    }

    public Date getSetTime() {
        return setTime;
    }

    public void setSetTime(Date setTime) {
        this.setTime = setTime;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getSensitiveStatus() {
        return sensitiveStatus;
    }

    public void setSensitiveStatus(String sensitiveStatus) {
        this.sensitiveStatus = sensitiveStatus;
    }


    public String getResidenceId() {
        return residenceId;
    }

    public void setResidenceId(String residenceId) {
        this.residenceId = residenceId;
    }



    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public Residence getResidence() {
        return residence;
    }

    public void setResidence(Residence residence) {
        this.residence = residence;
    }

    public Admin getAdmin() {
        return admin;
    }

    public void setAdmin(Admin admin) {
        this.admin = admin;
    }

/*    public Estate getEstate() {
        return estate;
    }

    public void setEstate(Estate estate) {
        this.estate = estate;
    }*/

    public Residence getRe() {
        return re;
    }

    public void setRe(Residence re) {
        this.re = re;
    }
}